package com.gz.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 微信支付配置
 * @author shuqingyou 2022/9/16
 */
@Data
@Component
@Configuration
@ConfigurationProperties(prefix = "wechat")
public class payProperties {
    //微信公众号appid
    private String appid;

    //公众号设置的api密钥
    private String api_key;

    //#微信商户平台 商户id
    private String mch_id;
}
